<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>轩盛金融</title>
    <meta name="keywords" content="轩盛金融">
    <meta name="description" content="轩盛金融">

    <link rel="shortcut icon" href="favicon.ico">
    <link href="__CSS__/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="__CSS__/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="__CSS__/animate.min.css" rel="stylesheet">
    <link href="__CSS__/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="__JS__/layui/css/layui.css"rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>所有表单元素 <small>包括自定义样式的复选和单选按钮</small></h5>
                        <div class="ibox-tools">
                            <a class="collapse-link" href="{:url('Goods/interface_cat')}">
                                <i class="fa fa-reply"></i>
                            </a>

                        </div>
                    </div>
                    <div class="ibox-content">
                        <form method="post" action="{:url('Goods/interfaceCatAdd')}" class="form-horizontal layui-form" enctype="multipart/form-data">
                            <div class="form-group">
                                <label for="cat_name" class="col-sm-3 control-label">标的名称</label>

                                <div class="col-sm-6">
                                    <input type="text" lay-verify="required" id="cat_name" name="cat_name" class="form-control layui-input">
                                </div>
                            </div>


                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label for="cat_pic" class="col-sm-3 control-label">标的分类图片</label>

                                <div class="col-sm-6">
                                    <input type="file" lay-verify="required" id="cat_pic" name="cat_pic" class="form-control" accept="image/*">
                                </div>
                            </div>
                                
                            <input type="hidden" name="parent_id" value="2">

                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <div class="col-sm-2 col-sm-offset-7">
                                    <button lay-submit lay-filter="upload" class="btn btn-primary btn-block" type="submit">保存内容</button>
                                    
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="__JS__/jquery.min.js?v=2.1.4"></script>
    <script src="__JS__/bootstrap.min.js?v=3.3.6"></script>
    <script src="__JS__/layui/layui.js"></script>
    <script>
        // 引用layui
        layui.use(['layer', 'form'], function(){
          var layer = layui.layer;
          var form = layui.form;
        });
    </script>
</body>

</html>
